export  const menus=[

    {
        path: '/hospital',
        name:'hospital',
        component:()=>import('@/layout/index.vue'),
        meta: { title: '医院设置', icon: 'dashboard', affix: true },
        children:[
            {
                path:'flow1',
                name:'flow1',
                component:()=>import('@/views/system/Role.vue'),
                meta: { title: '角色管理', icon: 'dashboard', affix: true },
            },
            {
                path:'flow2',
                name:'flow2',
                component:()=>import('@/views/system/User.vue'),
                meta: { title: '用户管理', icon: 'dashboard', affix: true },
            }
        ]
    },

    {
        path: '/system',
        name:'system',
        component:()=>import('@/layout/index.vue'),
        meta: { title: '系统设置', icon: 'dashboard', affix: true },
        children:[
            {
                path:'role',
                name:'role',
                component:()=>import('@/views/system/Role.vue'),
                meta: { title: '角色管理', icon: 'dashboard', affix: true },
            },
            {
                path:'user',
                name:'user',
                component:()=>import('@/views/system/User.vue'),
                meta: { title: '用户管理', icon: 'dashboard', affix: true },
            }
        ]
    }

]


